package com.zqh.app.dao;

import com.zqh.app.entity.User;
import com.zqh.common.dao.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

import java.util.ArrayList;


@MapperScan
public interface UserMapper extends BaseMapper<User> {


    ArrayList<User> undetectedTen(String timeAll);

    ArrayList<User> offAndOn(String tenDate);

    ArrayList<User> continuousFifteen(@Param(value = "yesTime") String yesTime,@Param(value = "todayTime") String todayTime);

    ArrayList<User> newUser(@Param(value = "yesTime") String yesTime,@Param(value = "todayTime") String todayTime);

    ArrayList<User> lockSleepOne(String yesTime);

    ArrayList<User> lockSleep(String yesTime);

    ArrayList<User> lockOne(String yesTime);
}
